Vue.directive('qx', {
		bind: function(el, binding){
			let val = binding.value;
			let sto = []
			if (this.localStorage.permission !== 'undefined') {
				sto = JSON.parse(JSON.parse(this.localStorage.permission))
			}
			let empty = false;
			sto.forEach( (v) => {
				if (v === val) {
					empty = true;
				}
			})
			if (!empty) {
				el.parentNode.removeChild(el);
			}
		}
})